package pizza.admin.dao;
import java.util.Collection;

import pizza.admin.entity.OrderPizza;

/**
 * @author George Dailiev <george.dailiev@gmail.com>
 * @version 1.0
 */
public interface OrderPizzaDAOInterface {
	
	/**
	 * @param 
	 */
	public void initializeEntityManager();
	
	/**
	 * @param id number
	 * @return OrderPizza Entity representing the orderPizza object
	 */
	public OrderPizza getById(Integer id);
	
	
	/**
	 * @param orderPizza
	 * @return add orderPizza to database
	 */
	public void add(OrderPizza orderPizza);
	
	/**
	 * @param orderPizza
	 */
	public void edit(OrderPizza orderPizza);
	
	/**
	 * @param orderPizza
	 */
	public void delete(OrderPizza orderPizza);
	
	/**
	 * 
	 */
	public void destroy();
}
